#ifndef DX_GLOBAL
#define DX_GLOBAL

HWND					g_hWnd = NULL;
LPDIRECTDRAW7			g_lpDirectDraw = NULL;
LPDIRECTDRAWSURFACE7	g_lpDDSurfacePrimary = NULL;
LPDIRECTDRAWSURFACE7	g_lpDDSurfaceBack = NULL;
DDSURFACEDESC2			g_kDDSurfaceDesc2;
LPDIRECTDRAWCLIPPER		g_lpDDClipper = NULL;
LPDIRECTDRAWPALETTE		g_lpDDPalette = NULL;

int						g_iWidth = 0;
int						g_iHeight = 0;
int						g_iBpp = 0;

#endif